﻿using Castle.Windsor;
using Castle.Windsor.Installer;

namespace WebApplicationSample
{
    public class ApplicationBootstrapper
    {
        public static IWindsorContainer Container;

        public static IWindsorContainer Register()
        {
            Container=new Castle.Windsor.WindsorContainer();

            Container.Install(FromAssembly.This());

            return Container;
        }
    }
}